#pragma once
#include "MemoryManager/memdebug.h"
#include "Debug/Debug.h"
#include "mtypes.h"

#ifndef SAFE_DELETE
#define SAFE_DELETE(p)       { if (p) { delete (p);     (p)=NULL; } }
#endif 

/* Initialization inside the CEngine class */
extern Debug     *g_pDebug;
/* Initialization inside the Application class */
extern API_VERSION g_ApiVersion;